package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 民宿图片表
 * </p>
 *
 * @author
 *
 */
@Getter
@Setter
@TableName("homestay_images")
@ApiModel(value = "HomestayImages对象", description = "民宿图片表")
public class HomestayImages implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("民宿ID")
    private Integer homestayId;

    @ApiModelProperty("图片URL")
    private String img;

    @ApiModelProperty("是否为封面：0-否，1-是")
    private Integer isCover;

    @ApiModelProperty("排序顺序")
    private Integer sortOrder;




}
